package com.lancoo.ccas53.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 选课课程
 * </p>
 *
 * @author quin.song
 * @since 2024-05-20
 */
@Data
@Accessors(chain = true)
@TableName("css_select_course")
@ApiModel(value = "CssSelectCourse对象", description = "选课课程")
public class CssSelectCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer taskId;

    @ApiModelProperty("1预选 2正式选课")
    private Integer type;

    private Long courseId;

    @ApiModelProperty("性别限制 0、男女不限 1、仅男生 2、仅女生")
    private Integer sexLimit;

    @ApiModelProperty("最低开班人数")
    private Integer classNum;

    @ApiModelProperty("操作状态 1未设置 2已设置")
    private Integer operationStatus;

    @ApiModelProperty("说明,撤销原因")
    private String description;

    @ApiModelProperty("开课状态 0取消开班  1正常开班")
    private Integer isEnable;
}
